﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NotificationHistoryByToday.aspx.cs" Inherits="GPSTrackingWebsiteManager.Pages.NotificationHistoryByToday" %>

<!DOCTYPE html>

<link href="../../Css/GPSTrackingWebsite.css" rel="stylesheet" />
<link href="../../Css/messi.css" rel="stylesheet" />
<script src="../../Javascript/jquery-1.11.1.min.js"></script>
<script src="../../Javascript/messi.js"></script>
<script src="../../Javascript/Custom.js"></script>
<script src="../../Javascript/WindowMessageManager.js"></script>

<script src="../../Javascript/ObjectsV2.js"></script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <script type="text/javascript">
        //Windows Message Manager 
        var objWindowsMessageManager = new WindowsMessageManager();
    </script>
</head>
<body onload="">
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnablePageMethods="true" EnablePartialRendering="true"></telerik:RadScriptManager>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="AjaxControlID1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="Loading" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>


        <telerik:RadTabStrip ID="rtsNotifications" runat="server" SelectedIndex="0" MultiPageID="rmpNotifications"></telerik:RadTabStrip>
        <telerik:RadMultiPage ID="rmpNotifications" runat="server" SelectedIndex="0">
            <telerik:RadPageView ID="rpvNotifications" runat="server">

                <table style="width: 500px; text-align: left">
                    <tr>
                        <td>
                            <fieldset>
                                <legend>Notificaciones</legend>
                                <telerik:RadGrid ID="rgNotificationsGrid" runat="server" AllowMultiRowSelection="False" AutoGenerateColumns="False" CellSpacing="0" GridLines="None" Height="170px" OnNeedDataSource="rgNotificationsGrid_NeedDataSource" Width="570px">
                                    <ClientSettings>
                                        <Selecting AllowRowSelect="True" />
                                        <ClientEvents OnRowClick="" />
                                        <Scrolling AllowScroll="True" UseStaticHeaders="true" />
                                    </ClientSettings>
                                    <MasterTableView EditMode="PopUp" EditFormSettings-PopUpSettings-Modal="true" EditFormSettings-CaptionFormatString="Modo Edición" ClientDataKeyNames="GPSImei, NotificationID" NoMasterRecordsText="No hay Notificaciones registradas">
                                        <CommandItemSettings ExportToPdfText="Export to PDF" />
                                        <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True">
                                        </RowIndicatorColumn>
                                        <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True">
                                        </ExpandCollapseColumn>
                                        <Columns>
                                            <telerik:GridBoundColumn DataField="GPSImei" FilterControlAltText="Filter Description column" HeaderText="GPSImei" UniqueName="GPSImei" Display="false">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="GPSName" FilterControlAltText="Filter Description column" HeaderText="Name" UniqueName="Name" Visible="true" ItemStyle-Width="150px" HeaderStyle-Width="150px">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="NotificationID" FilterControlAltText="Filter Description column" HeaderText="NotificationID" Display="false">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="Datetime" FilterControlAltText="Filter Description column" HeaderText="Fecha" Visible="true" ItemStyle-Width="150px" HeaderStyle-Width="150px">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="NotificationText" FilterControlAltText="Filter Description column" HeaderText="Notificación" Visible="true">
                                            </telerik:GridBoundColumn>
                                        </Columns>
                                    </MasterTableView>
                                    <FilterMenu EnableImageSprites="true">
                                    </FilterMenu>
                                </telerik:RadGrid>
                            </fieldset>
                        </td>
                    </tr>
                </table>

            </telerik:RadPageView>
        </telerik:RadMultiPage>

        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default"></telerik:RadAjaxLoadingPanel>
    </form>
</body>
</html>
